class AddBookId < ActiveRecord::Migration
  def self.up
     add_column :posts, :book_id, :integer
  end

  def self.down
    remove_column :posts, :book_id, :integer
  end
end
